# -*- coding: utf-8 -*-
# @Time    : 2021/3/18 18:09
# @Author  : lilehao
# @Email   : 2811894942@qq.com
# @File    : 3.18作业1.py
import random

x = int(input("请输入一个数字："))
if 20<x<30 or x<-100:
      print("符合")

y = int(input("请输入y的值:"))
if y%2 == 1:
    print("y为奇数")


a = int(input("请输入一个大于0的数字："))
b = int(input("请输入一个大于0的数字："))
if a != b:
     print(a%b+a/b*b==a)

str1 = input("请输入一个字符串：")
if "abc" in str1:
      print("Ture")
else:
      print("Flase")

print(127 >>2)

print(3 or print("5") and not print('abc'))

a = 5
b = 7
print(1.0 + a/b)

x = int(input("请输入一个数字："))
y = int(input("请输入一个数字："))
z = int(input("请输入一个数字："))
if x<z or y < z:
    print("yes")

light = ""
for i in range(12):
    light += str(random.randint(0,1))
print(light)
ad = random.randint(1,12)
print(ad)
if light[ad-1] == "1":
    print("Ture")
else:
    print("Flase")